using UnityEngine;
using System.Collections;

[System.Serializable]
public class Puzzle1Button : MonoBehaviour {
	
	public int buttonIndex = -1;
	
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}
	
	void  OnMouseUpAsButton() {
		Puzzle1.doButtonPress(buttonIndex);
		audio.PlayOneShot(audio.clip);
	}
}
